package training01;

public class Puke {
    /**
     * 花色
     */
    private String type;
    /**
     * 点数
     */
    private String point;
    private int typeValue;
    private int pointValue;

    public Puke() {
    }

    public Puke(String type, String point, int typeValue, int pointValue) {
        this.type = type;
        this.point = point;
        this.typeValue = typeValue;
        this.pointValue = pointValue;
    }

    public Puke(String type, String point) {
        this.type = type;
        this.point = point;
    }
    public String toString(){
        return type + point;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public int getTypeValue() {
        return typeValue;
    }

    public void setTypeValue(int typeValue) {
        this.typeValue = typeValue;
    }

    public int getPointValue() {
        return pointValue;
    }

    public void setPointValue(int pointValue) {
        this.pointValue = pointValue;
    }
}
